﻿<%@ Page Title="" Language="C#" MasterPageFile="~/OpenLeuven_Portal.Master" AutoEventWireup="true" CodeBehind="registerbedrijf.aspx.cs" Inherits="OpenLeuvenPortaal.Views.StartPagina.registerbedrijf" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Main" runat="server">
       
    &nbsp;<asp:Label ID="Label1" runat="server" Text="Registreer bedrijf"></asp:Label>
    <br />
    <hr />
    <br />
    &nbsp;<asp:Label ID="Label2" runat="server" Text="Bedrijfsnaam: "></asp:Label>
    &nbsp;<asp:TextBox ID="BNaamTxt" runat="server" Width="150px" ></asp:TextBox><asp:RequiredFieldValidator
        ID="RequiredFieldValidator1" runat="server" ErrorMessage="Naam moet ingevuld zijn !" ControlToValidate="BNaamTxt" ValidationGroup="submitcontrol"></asp:RequiredFieldValidator>

    <br />
        &nbsp;<asp:Label ID="Label3" runat="server" Text="Bedrijfslogo(url): "></asp:Label>
    &nbsp;<asp:TextBox ID="bedrijfslogourl" runat="server" Width="150px" ></asp:TextBox><asp:RequiredFieldValidator
        ID="RequiredFieldValidator2" runat="server" ErrorMessage="Url moet ingevuld zijn !" ControlToValidate="bedrijfslogourl" ValidationGroup="submitcontrol"></asp:RequiredFieldValidator>

    <br />
    &nbsp;<asp:Label ID="Label4" runat="server" Text="Adres: "></asp:Label>
    &nbsp;<asp:TextBox ID="AdresTxt" runat="server" Width="150px"></asp:TextBox>
    &nbsp;<asp:TextBox ID="HuisnummerTxt" runat="server" MaxLength="6" Width="67px"></asp:TextBox>
    <asp:RequiredFieldValidator
        ID="RequiredFieldValidator3" runat="server" ErrorMessage="Adres moet ingevuld zijn !" ControlToValidate="AdresTxt" ValidationGroup="submitcontrol"></asp:RequiredFieldValidator>
    <br />
    &nbsp;<asp:Label ID="Label5" runat="server" Text="Postcode: "></asp:Label>
    &nbsp;<asp:TextBox ID="PostcodeTxt" runat="server" Width="50px" MaxLength="4"></asp:TextBox><asp:RequiredFieldValidator
        ID="RequiredFieldValidator4" runat="server" ErrorMessage="Postcode moet ingevuld zijn !" ControlToValidate="PostcodeTxt" ValidationGroup="submitcontrol"></asp:RequiredFieldValidator>
    <br />
    &nbsp;<asp:Label ID="Label6" runat="server" Text="Woonplaats: "></asp:Label>
    &nbsp;<asp:TextBox ID="WoonplaatsTxt" runat="server" Width="150px"></asp:TextBox><asp:RequiredFieldValidator
        ID="RequiredFieldValidator5" runat="server" ErrorMessage="Woonplaats moet ingevuld zijn !" ControlToValidate="WoonplaatsTxt" ValidationGroup="submitcontrol"></asp:RequiredFieldValidator>
    <br />
    &nbsp;<asp:Label ID="Label7" runat="server" Text="Email: "></asp:Label>
    &nbsp;<asp:TextBox ID="EmailTxt" runat="server" Width="150px"></asp:TextBox><asp:RequiredFieldValidator
        ID="RequiredFieldValidator6" runat="server" ErrorMessage="Email moet ingevuld zijn !" ControlToValidate="EmailTxt" ValidationGroup="submitcontrol"></asp:RequiredFieldValidator>
    <br />
    &nbsp;<asp:Label ID="Label9" runat="server" Text="Wachtwoord: "></asp:Label>
    &nbsp;<asp:TextBox ID="wwtxt" runat="server" TextMode="Password"></asp:TextBox><asp:RequiredFieldValidator
        ID="RequiredFieldValidator8" runat="server" ErrorMessage="Wachtwoord moet ingevuld zijn!" ControlToValidate="wwtxt" ValidationGroup="submitcontrol"></asp:RequiredFieldValidator>
    <br />
    &nbsp;<asp:Label ID="Label10" runat="server" Text="Herhaal wachtwoord: "></asp:Label>
    &nbsp;<asp:TextBox ID="hww" runat="server" Width="150px" TextMode="Password"></asp:TextBox><asp:CompareValidator
        ID="CompareValidator1" runat="server" ErrorMessage="Wachtwoorden komen niet overeen" ControlToCompare="wwtxt" ControlToValidate="hww" ValidationGroup="submitcontrol"></asp:CompareValidator>
    &nbsp;<br />
    <hr />
    &nbsp;<asp:Label ID="blabel" runat="server" Text="Bedrijfsinformatie(enkel invullen als je een bedrijf registreert" ></asp:Label>
    <br /><br />
    &nbsp;<asp:Label ID="btwlabel" runat="server" Text="BTW nummer: "></asp:Label>
    &nbsp;<asp:TextBox ID="TextBox1" runat="server" ReadOnly="True" Width="20px">BE</asp:TextBox>
    <asp:TextBox ID="BTWnTxt" runat="server" Width="150px" MaxLength="12"></asp:TextBox>
    <br /><br />
    &nbsp;<asp:Button ID="Submitbtn" runat="server" Text="Submit" 
        onclick="Submitbtn_Click" />&nbsp;<asp:Button ID="ClearBtn" runat="server" Text="Clear" />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
</asp:Content>
